package card;

public class Card {
    //花色
    private String suit;

    //数字：11-13：J Q K
    private int num;

    public Card(String suit, int num) {
        this.suit = suit;
        this.num = num;
    }

    public String getSuit() {
        return suit;
    }

    public void setSuit(String suit) {
        this.suit = suit;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "suit: " + suit + " num: " + num;
    }
}
